Skip to main content

Config Update

Update an existing lobby config in Remote Config.

Authentication Required: Yes

ugs lobby config update <config-id> <body> [options]

Arguments

<config-id> The ID of the config to update.

<body> The JSON body containing the updated config value. If this is a file path, the content of the file is used; otherwise, the raw string is used.

Options

AliasDescription
project-id-p, --project-idThe Unity cloud project ID.
help-?, -h, --helpDisplay help and usage information.
quiet-q, --quietReduce logging to a minimum.
json-j, --jsonUse JSON as the output format.

Body option

The body option must include the type and values array of a config to update. No other data should be present. For example:

{
"type": "lobby",
"value": [
{
"key": "lobbyConfig",
"type": "json",
"schemaId": "lobbyv2",
"value": {
"socialProfilesEnabled": false,
"activeLifespanSeconds": 30,
"disconnectRemovalTimeSeconds": 120,
"disconnectHostMigrationTimeSeconds": 120,
"playerSlots": {
"maximum": 8,
"minimum": 4
}
}
}
]
}